package com.quanyan.club.entity.db;

import com.quanyan.common.utils.Limit;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbOperateLotteryPrizeItemsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = 0;

    protected int limitEnd = 0;

    protected Limit limit;

    public TbOperateLotteryPrizeItemsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setLimit(Limit limit) {
        this.limit=limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Integer value) {
            addCriterion("level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Integer value) {
            addCriterion("level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Integer value) {
            addCriterion("level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Integer value) {
            addCriterion("level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Integer value) {
            addCriterion("level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Integer> values) {
            addCriterion("level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Integer> values) {
            addCriterion("level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Integer value1, Integer value2) {
            addCriterion("level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("level not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNameIsNull() {
            addCriterion("level_name is null");
            return (Criteria) this;
        }

        public Criteria andLevelNameIsNotNull() {
            addCriterion("level_name is not null");
            return (Criteria) this;
        }

        public Criteria andLevelNameEqualTo(String value) {
            addCriterion("level_name =", value, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameNotEqualTo(String value) {
            addCriterion("level_name <>", value, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameGreaterThan(String value) {
            addCriterion("level_name >", value, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameGreaterThanOrEqualTo(String value) {
            addCriterion("level_name >=", value, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameLessThan(String value) {
            addCriterion("level_name <", value, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameLessThanOrEqualTo(String value) {
            addCriterion("level_name <=", value, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameLike(String value) {
            addCriterion("level_name like", value, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameNotLike(String value) {
            addCriterion("level_name not like", value, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameIn(List<String> values) {
            addCriterion("level_name in", values, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameNotIn(List<String> values) {
            addCriterion("level_name not in", values, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameBetween(String value1, String value2) {
            addCriterion("level_name between", value1, value2, "levelName");
            return (Criteria) this;
        }

        public Criteria andLevelNameNotBetween(String value1, String value2) {
            addCriterion("level_name not between", value1, value2, "levelName");
            return (Criteria) this;
        }

        public Criteria andPrizeDescIsNull() {
            addCriterion("prize_desc is null");
            return (Criteria) this;
        }

        public Criteria andPrizeDescIsNotNull() {
            addCriterion("prize_desc is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeDescEqualTo(String value) {
            addCriterion("prize_desc =", value, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescNotEqualTo(String value) {
            addCriterion("prize_desc <>", value, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescGreaterThan(String value) {
            addCriterion("prize_desc >", value, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescGreaterThanOrEqualTo(String value) {
            addCriterion("prize_desc >=", value, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescLessThan(String value) {
            addCriterion("prize_desc <", value, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescLessThanOrEqualTo(String value) {
            addCriterion("prize_desc <=", value, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescLike(String value) {
            addCriterion("prize_desc like", value, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescNotLike(String value) {
            addCriterion("prize_desc not like", value, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescIn(List<String> values) {
            addCriterion("prize_desc in", values, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescNotIn(List<String> values) {
            addCriterion("prize_desc not in", values, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescBetween(String value1, String value2) {
            addCriterion("prize_desc between", value1, value2, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andPrizeDescNotBetween(String value1, String value2) {
            addCriterion("prize_desc not between", value1, value2, "prizeDesc");
            return (Criteria) this;
        }

        public Criteria andRateIsNull() {
            addCriterion("rate is null");
            return (Criteria) this;
        }

        public Criteria andRateIsNotNull() {
            addCriterion("rate is not null");
            return (Criteria) this;
        }

        public Criteria andRateEqualTo(Double value) {
            addCriterion("rate =", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateNotEqualTo(Double value) {
            addCriterion("rate <>", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateGreaterThan(Double value) {
            addCriterion("rate >", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateGreaterThanOrEqualTo(Double value) {
            addCriterion("rate >=", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateLessThan(Double value) {
            addCriterion("rate <", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateLessThanOrEqualTo(Double value) {
            addCriterion("rate <=", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateIn(List<Double> values) {
            addCriterion("rate in", values, "rate");
            return (Criteria) this;
        }

        public Criteria andRateNotIn(List<Double> values) {
            addCriterion("rate not in", values, "rate");
            return (Criteria) this;
        }

        public Criteria andRateBetween(Double value1, Double value2) {
            addCriterion("rate between", value1, value2, "rate");
            return (Criteria) this;
        }

        public Criteria andRateNotBetween(Double value1, Double value2) {
            addCriterion("rate not between", value1, value2, "rate");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantIsNull() {
            addCriterion("num_of_day_grant is null");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantIsNotNull() {
            addCriterion("num_of_day_grant is not null");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantEqualTo(Integer value) {
            addCriterion("num_of_day_grant =", value, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantNotEqualTo(Integer value) {
            addCriterion("num_of_day_grant <>", value, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantGreaterThan(Integer value) {
            addCriterion("num_of_day_grant >", value, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantGreaterThanOrEqualTo(Integer value) {
            addCriterion("num_of_day_grant >=", value, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLessThan(Integer value) {
            addCriterion("num_of_day_grant <", value, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLessThanOrEqualTo(Integer value) {
            addCriterion("num_of_day_grant <=", value, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantIn(List<Integer> values) {
            addCriterion("num_of_day_grant in", values, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantNotIn(List<Integer> values) {
            addCriterion("num_of_day_grant not in", values, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantBetween(Integer value1, Integer value2) {
            addCriterion("num_of_day_grant between", value1, value2, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantNotBetween(Integer value1, Integer value2) {
            addCriterion("num_of_day_grant not between", value1, value2, "numOfDayGrant");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverIsNull() {
            addCriterion("num_of_day_grant_leftover is null");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverIsNotNull() {
            addCriterion("num_of_day_grant_leftover is not null");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverEqualTo(Integer value) {
            addCriterion("num_of_day_grant_leftover =", value, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverNotEqualTo(Integer value) {
            addCriterion("num_of_day_grant_leftover <>", value, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverGreaterThan(Integer value) {
            addCriterion("num_of_day_grant_leftover >", value, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverGreaterThanOrEqualTo(Integer value) {
            addCriterion("num_of_day_grant_leftover >=", value, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverLessThan(Integer value) {
            addCriterion("num_of_day_grant_leftover <", value, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverLessThanOrEqualTo(Integer value) {
            addCriterion("num_of_day_grant_leftover <=", value, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverIn(List<Integer> values) {
            addCriterion("num_of_day_grant_leftover in", values, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverNotIn(List<Integer> values) {
            addCriterion("num_of_day_grant_leftover not in", values, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverBetween(Integer value1, Integer value2) {
            addCriterion("num_of_day_grant_leftover between", value1, value2, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfDayGrantLeftoverNotBetween(Integer value1, Integer value2) {
            addCriterion("num_of_day_grant_leftover not between", value1, value2, "numOfDayGrantLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalIsNull() {
            addCriterion("num_of_total is null");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalIsNotNull() {
            addCriterion("num_of_total is not null");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalEqualTo(Integer value) {
            addCriterion("num_of_total =", value, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalNotEqualTo(Integer value) {
            addCriterion("num_of_total <>", value, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalGreaterThan(Integer value) {
            addCriterion("num_of_total >", value, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalGreaterThanOrEqualTo(Integer value) {
            addCriterion("num_of_total >=", value, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLessThan(Integer value) {
            addCriterion("num_of_total <", value, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLessThanOrEqualTo(Integer value) {
            addCriterion("num_of_total <=", value, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalIn(List<Integer> values) {
            addCriterion("num_of_total in", values, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalNotIn(List<Integer> values) {
            addCriterion("num_of_total not in", values, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalBetween(Integer value1, Integer value2) {
            addCriterion("num_of_total between", value1, value2, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalNotBetween(Integer value1, Integer value2) {
            addCriterion("num_of_total not between", value1, value2, "numOfTotal");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverIsNull() {
            addCriterion("num_of_total_leftover is null");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverIsNotNull() {
            addCriterion("num_of_total_leftover is not null");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverEqualTo(Integer value) {
            addCriterion("num_of_total_leftover =", value, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverNotEqualTo(Integer value) {
            addCriterion("num_of_total_leftover <>", value, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverGreaterThan(Integer value) {
            addCriterion("num_of_total_leftover >", value, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverGreaterThanOrEqualTo(Integer value) {
            addCriterion("num_of_total_leftover >=", value, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverLessThan(Integer value) {
            addCriterion("num_of_total_leftover <", value, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverLessThanOrEqualTo(Integer value) {
            addCriterion("num_of_total_leftover <=", value, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverIn(List<Integer> values) {
            addCriterion("num_of_total_leftover in", values, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverNotIn(List<Integer> values) {
            addCriterion("num_of_total_leftover not in", values, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverBetween(Integer value1, Integer value2) {
            addCriterion("num_of_total_leftover between", value1, value2, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andNumOfTotalLeftoverNotBetween(Integer value1, Integer value2) {
            addCriterion("num_of_total_leftover not between", value1, value2, "numOfTotalLeftover");
            return (Criteria) this;
        }

        public Criteria andIsAwardIsNull() {
            addCriterion("is_award is null");
            return (Criteria) this;
        }

        public Criteria andIsAwardIsNotNull() {
            addCriterion("is_award is not null");
            return (Criteria) this;
        }

        public Criteria andIsAwardEqualTo(Boolean value) {
            addCriterion("is_award =", value, "isAward");
            return (Criteria) this;
        }

        public Criteria andIsAwardNotEqualTo(Boolean value) {
            addCriterion("is_award <>", value, "isAward");
            return (Criteria) this;
        }

        public Criteria andIsAwardGreaterThan(Boolean value) {
            addCriterion("is_award >", value, "isAward");
            return (Criteria) this;
        }

        public Criteria andIsAwardGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_award >=", value, "isAward");
            return (Criteria) this;
        }

        public Criteria andIsAwardLessThan(Boolean value) {
            addCriterion("is_award <", value, "isAward");
            return (Criteria) this;
        }

        public Criteria andIsAwardLessThanOrEqualTo(Boolean value) {
            addCriterion("is_award <=", value, "isAward");
            return (Criteria) this;
        }

        public Criteria andIsAwardIn(List<Boolean> values) {
            addCriterion("is_award in", values, "isAward");
            return (Criteria) this;
        }

        public Criteria andIsAwardNotIn(List<Boolean> values) {
            addCriterion("is_award not in", values, "isAward");
            return (Criteria) this;
        }

        public Criteria andIsAwardBetween(Boolean value1, Boolean value2) {
            addCriterion("is_award between", value1, value2, "isAward");
            return (Criteria) this;
        }

        public Criteria andIsAwardNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_award not between", value1, value2, "isAward");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}